package com.smarttest.portal.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DbAutoBuildplatformExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DbAutoBuildplatformExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDgroupIsNull() {
            addCriterion("dgroup is null");
            return (Criteria) this;
        }

        public Criteria andDgroupIsNotNull() {
            addCriterion("dgroup is not null");
            return (Criteria) this;
        }

        public Criteria andDgroupEqualTo(String value) {
            addCriterion("dgroup =", value, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupNotEqualTo(String value) {
            addCriterion("dgroup <>", value, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupGreaterThan(String value) {
            addCriterion("dgroup >", value, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupGreaterThanOrEqualTo(String value) {
            addCriterion("dgroup >=", value, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupLessThan(String value) {
            addCriterion("dgroup <", value, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupLessThanOrEqualTo(String value) {
            addCriterion("dgroup <=", value, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupLike(String value) {
            addCriterion("dgroup like", value, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupNotLike(String value) {
            addCriterion("dgroup not like", value, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupIn(List<String> values) {
            addCriterion("dgroup in", values, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupNotIn(List<String> values) {
            addCriterion("dgroup not in", values, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupBetween(String value1, String value2) {
            addCriterion("dgroup between", value1, value2, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDgroupNotBetween(String value1, String value2) {
            addCriterion("dgroup not between", value1, value2, "dgroup");
            return (Criteria) this;
        }

        public Criteria andDserviceIsNull() {
            addCriterion("dservice is null");
            return (Criteria) this;
        }

        public Criteria andDserviceIsNotNull() {
            addCriterion("dservice is not null");
            return (Criteria) this;
        }

        public Criteria andDserviceEqualTo(String value) {
            addCriterion("dservice =", value, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceNotEqualTo(String value) {
            addCriterion("dservice <>", value, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceGreaterThan(String value) {
            addCriterion("dservice >", value, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceGreaterThanOrEqualTo(String value) {
            addCriterion("dservice >=", value, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceLessThan(String value) {
            addCriterion("dservice <", value, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceLessThanOrEqualTo(String value) {
            addCriterion("dservice <=", value, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceLike(String value) {
            addCriterion("dservice like", value, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceNotLike(String value) {
            addCriterion("dservice not like", value, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceIn(List<String> values) {
            addCriterion("dservice in", values, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceNotIn(List<String> values) {
            addCriterion("dservice not in", values, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceBetween(String value1, String value2) {
            addCriterion("dservice between", value1, value2, "dservice");
            return (Criteria) this;
        }

        public Criteria andDserviceNotBetween(String value1, String value2) {
            addCriterion("dservice not between", value1, value2, "dservice");
            return (Criteria) this;
        }

        public Criteria andDreleaseIsNull() {
            addCriterion("drelease is null");
            return (Criteria) this;
        }

        public Criteria andDreleaseIsNotNull() {
            addCriterion("drelease is not null");
            return (Criteria) this;
        }

        public Criteria andDreleaseEqualTo(String value) {
            addCriterion("drelease =", value, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseNotEqualTo(String value) {
            addCriterion("drelease <>", value, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseGreaterThan(String value) {
            addCriterion("drelease >", value, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseGreaterThanOrEqualTo(String value) {
            addCriterion("drelease >=", value, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseLessThan(String value) {
            addCriterion("drelease <", value, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseLessThanOrEqualTo(String value) {
            addCriterion("drelease <=", value, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseLike(String value) {
            addCriterion("drelease like", value, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseNotLike(String value) {
            addCriterion("drelease not like", value, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseIn(List<String> values) {
            addCriterion("drelease in", values, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseNotIn(List<String> values) {
            addCriterion("drelease not in", values, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseBetween(String value1, String value2) {
            addCriterion("drelease between", value1, value2, "drelease");
            return (Criteria) this;
        }

        public Criteria andDreleaseNotBetween(String value1, String value2) {
            addCriterion("drelease not between", value1, value2, "drelease");
            return (Criteria) this;
        }

        public Criteria andTestenvIsNull() {
            addCriterion("testenv is null");
            return (Criteria) this;
        }

        public Criteria andTestenvIsNotNull() {
            addCriterion("testenv is not null");
            return (Criteria) this;
        }

        public Criteria andTestenvEqualTo(Integer value) {
            addCriterion("testenv =", value, "testenv");
            return (Criteria) this;
        }

        public Criteria andTestenvNotEqualTo(Integer value) {
            addCriterion("testenv <>", value, "testenv");
            return (Criteria) this;
        }

        public Criteria andTestenvGreaterThan(Integer value) {
            addCriterion("testenv >", value, "testenv");
            return (Criteria) this;
        }

        public Criteria andTestenvGreaterThanOrEqualTo(Integer value) {
            addCriterion("testenv >=", value, "testenv");
            return (Criteria) this;
        }

        public Criteria andTestenvLessThan(Integer value) {
            addCriterion("testenv <", value, "testenv");
            return (Criteria) this;
        }

        public Criteria andTestenvLessThanOrEqualTo(Integer value) {
            addCriterion("testenv <=", value, "testenv");
            return (Criteria) this;
        }

        public Criteria andTestenvIn(List<Integer> values) {
            addCriterion("testenv in", values, "testenv");
            return (Criteria) this;
        }

        public Criteria andTestenvNotIn(List<Integer> values) {
            addCriterion("testenv not in", values, "testenv");
            return (Criteria) this;
        }

        public Criteria andTestenvBetween(Integer value1, Integer value2) {
            addCriterion("testenv between", value1, value2, "testenv");
            return (Criteria) this;
        }

        public Criteria andTestenvNotBetween(Integer value1, Integer value2) {
            addCriterion("testenv not between", value1, value2, "testenv");
            return (Criteria) this;
        }

        public Criteria andAutoresultIsNull() {
            addCriterion("autoresult is null");
            return (Criteria) this;
        }

        public Criteria andAutoresultIsNotNull() {
            addCriterion("autoresult is not null");
            return (Criteria) this;
        }

        public Criteria andAutoresultEqualTo(Integer value) {
            addCriterion("autoresult =", value, "autoresult");
            return (Criteria) this;
        }

        public Criteria andAutoresultNotEqualTo(Integer value) {
            addCriterion("autoresult <>", value, "autoresult");
            return (Criteria) this;
        }

        public Criteria andAutoresultGreaterThan(Integer value) {
            addCriterion("autoresult >", value, "autoresult");
            return (Criteria) this;
        }

        public Criteria andAutoresultGreaterThanOrEqualTo(Integer value) {
            addCriterion("autoresult >=", value, "autoresult");
            return (Criteria) this;
        }

        public Criteria andAutoresultLessThan(Integer value) {
            addCriterion("autoresult <", value, "autoresult");
            return (Criteria) this;
        }

        public Criteria andAutoresultLessThanOrEqualTo(Integer value) {
            addCriterion("autoresult <=", value, "autoresult");
            return (Criteria) this;
        }

        public Criteria andAutoresultIn(List<Integer> values) {
            addCriterion("autoresult in", values, "autoresult");
            return (Criteria) this;
        }

        public Criteria andAutoresultNotIn(List<Integer> values) {
            addCriterion("autoresult not in", values, "autoresult");
            return (Criteria) this;
        }

        public Criteria andAutoresultBetween(Integer value1, Integer value2) {
            addCriterion("autoresult between", value1, value2, "autoresult");
            return (Criteria) this;
        }

        public Criteria andAutoresultNotBetween(Integer value1, Integer value2) {
            addCriterion("autoresult not between", value1, value2, "autoresult");
            return (Criteria) this;
        }

        public Criteria andManualresultIsNull() {
            addCriterion("manualresult is null");
            return (Criteria) this;
        }

        public Criteria andManualresultIsNotNull() {
            addCriterion("manualresult is not null");
            return (Criteria) this;
        }

        public Criteria andManualresultEqualTo(Integer value) {
            addCriterion("manualresult =", value, "manualresult");
            return (Criteria) this;
        }

        public Criteria andManualresultNotEqualTo(Integer value) {
            addCriterion("manualresult <>", value, "manualresult");
            return (Criteria) this;
        }

        public Criteria andManualresultGreaterThan(Integer value) {
            addCriterion("manualresult >", value, "manualresult");
            return (Criteria) this;
        }

        public Criteria andManualresultGreaterThanOrEqualTo(Integer value) {
            addCriterion("manualresult >=", value, "manualresult");
            return (Criteria) this;
        }

        public Criteria andManualresultLessThan(Integer value) {
            addCriterion("manualresult <", value, "manualresult");
            return (Criteria) this;
        }

        public Criteria andManualresultLessThanOrEqualTo(Integer value) {
            addCriterion("manualresult <=", value, "manualresult");
            return (Criteria) this;
        }

        public Criteria andManualresultIn(List<Integer> values) {
            addCriterion("manualresult in", values, "manualresult");
            return (Criteria) this;
        }

        public Criteria andManualresultNotIn(List<Integer> values) {
            addCriterion("manualresult not in", values, "manualresult");
            return (Criteria) this;
        }

        public Criteria andManualresultBetween(Integer value1, Integer value2) {
            addCriterion("manualresult between", value1, value2, "manualresult");
            return (Criteria) this;
        }

        public Criteria andManualresultNotBetween(Integer value1, Integer value2) {
            addCriterion("manualresult not between", value1, value2, "manualresult");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileIsNull() {
            addCriterion("autoreportfile is null");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileIsNotNull() {
            addCriterion("autoreportfile is not null");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileEqualTo(String value) {
            addCriterion("autoreportfile =", value, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileNotEqualTo(String value) {
            addCriterion("autoreportfile <>", value, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileGreaterThan(String value) {
            addCriterion("autoreportfile >", value, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileGreaterThanOrEqualTo(String value) {
            addCriterion("autoreportfile >=", value, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileLessThan(String value) {
            addCriterion("autoreportfile <", value, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileLessThanOrEqualTo(String value) {
            addCriterion("autoreportfile <=", value, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileLike(String value) {
            addCriterion("autoreportfile like", value, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileNotLike(String value) {
            addCriterion("autoreportfile not like", value, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileIn(List<String> values) {
            addCriterion("autoreportfile in", values, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileNotIn(List<String> values) {
            addCriterion("autoreportfile not in", values, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileBetween(String value1, String value2) {
            addCriterion("autoreportfile between", value1, value2, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andAutoreportfileNotBetween(String value1, String value2) {
            addCriterion("autoreportfile not between", value1, value2, "autoreportfile");
            return (Criteria) this;
        }

        public Criteria andManualresultidIsNull() {
            addCriterion("manualresultId is null");
            return (Criteria) this;
        }

        public Criteria andManualresultidIsNotNull() {
            addCriterion("manualresultId is not null");
            return (Criteria) this;
        }

        public Criteria andManualresultidEqualTo(Integer value) {
            addCriterion("manualresultId =", value, "manualresultid");
            return (Criteria) this;
        }

        public Criteria andManualresultidNotEqualTo(Integer value) {
            addCriterion("manualresultId <>", value, "manualresultid");
            return (Criteria) this;
        }

        public Criteria andManualresultidGreaterThan(Integer value) {
            addCriterion("manualresultId >", value, "manualresultid");
            return (Criteria) this;
        }

        public Criteria andManualresultidGreaterThanOrEqualTo(Integer value) {
            addCriterion("manualresultId >=", value, "manualresultid");
            return (Criteria) this;
        }

        public Criteria andManualresultidLessThan(Integer value) {
            addCriterion("manualresultId <", value, "manualresultid");
            return (Criteria) this;
        }

        public Criteria andManualresultidLessThanOrEqualTo(Integer value) {
            addCriterion("manualresultId <=", value, "manualresultid");
            return (Criteria) this;
        }

        public Criteria andManualresultidIn(List<Integer> values) {
            addCriterion("manualresultId in", values, "manualresultid");
            return (Criteria) this;
        }

        public Criteria andManualresultidNotIn(List<Integer> values) {
            addCriterion("manualresultId not in", values, "manualresultid");
            return (Criteria) this;
        }

        public Criteria andManualresultidBetween(Integer value1, Integer value2) {
            addCriterion("manualresultId between", value1, value2, "manualresultid");
            return (Criteria) this;
        }

        public Criteria andManualresultidNotBetween(Integer value1, Integer value2) {
            addCriterion("manualresultId not between", value1, value2, "manualresultid");
            return (Criteria) this;
        }

        public Criteria andBuildtimeIsNull() {
            addCriterion("buildtime is null");
            return (Criteria) this;
        }

        public Criteria andBuildtimeIsNotNull() {
            addCriterion("buildtime is not null");
            return (Criteria) this;
        }

        public Criteria andBuildtimeEqualTo(Date value) {
            addCriterion("buildtime =", value, "buildtime");
            return (Criteria) this;
        }

        public Criteria andBuildtimeNotEqualTo(Date value) {
            addCriterion("buildtime <>", value, "buildtime");
            return (Criteria) this;
        }

        public Criteria andBuildtimeGreaterThan(Date value) {
            addCriterion("buildtime >", value, "buildtime");
            return (Criteria) this;
        }

        public Criteria andBuildtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("buildtime >=", value, "buildtime");
            return (Criteria) this;
        }

        public Criteria andBuildtimeLessThan(Date value) {
            addCriterion("buildtime <", value, "buildtime");
            return (Criteria) this;
        }

        public Criteria andBuildtimeLessThanOrEqualTo(Date value) {
            addCriterion("buildtime <=", value, "buildtime");
            return (Criteria) this;
        }

        public Criteria andBuildtimeIn(List<Date> values) {
            addCriterion("buildtime in", values, "buildtime");
            return (Criteria) this;
        }

        public Criteria andBuildtimeNotIn(List<Date> values) {
            addCriterion("buildtime not in", values, "buildtime");
            return (Criteria) this;
        }

        public Criteria andBuildtimeBetween(Date value1, Date value2) {
            addCriterion("buildtime between", value1, value2, "buildtime");
            return (Criteria) this;
        }

        public Criteria andBuildtimeNotBetween(Date value1, Date value2) {
            addCriterion("buildtime not between", value1, value2, "buildtime");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionIsNull() {
            addCriterion("issuedpermission is null");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionIsNotNull() {
            addCriterion("issuedpermission is not null");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionEqualTo(Integer value) {
            addCriterion("issuedpermission =", value, "issuedpermission");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionNotEqualTo(Integer value) {
            addCriterion("issuedpermission <>", value, "issuedpermission");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionGreaterThan(Integer value) {
            addCriterion("issuedpermission >", value, "issuedpermission");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionGreaterThanOrEqualTo(Integer value) {
            addCriterion("issuedpermission >=", value, "issuedpermission");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionLessThan(Integer value) {
            addCriterion("issuedpermission <", value, "issuedpermission");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionLessThanOrEqualTo(Integer value) {
            addCriterion("issuedpermission <=", value, "issuedpermission");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionIn(List<Integer> values) {
            addCriterion("issuedpermission in", values, "issuedpermission");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionNotIn(List<Integer> values) {
            addCriterion("issuedpermission not in", values, "issuedpermission");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionBetween(Integer value1, Integer value2) {
            addCriterion("issuedpermission between", value1, value2, "issuedpermission");
            return (Criteria) this;
        }

        public Criteria andIssuedpermissionNotBetween(Integer value1, Integer value2) {
            addCriterion("issuedpermission not between", value1, value2, "issuedpermission");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}